package br.com.salao.rest;

import java.util.HashSet;
import java.util.Set;

import javax.ws.rs.core.Application;

public class SalaoApplication extends Application {

	HashSet<Object> singletons = new HashSet<Object>();
	
	public SalaoApplication(){

		singletons.add(new AgendamentoService());
		singletons.add(new BairroService());
		singletons.add(new CidadeService());
		singletons.add(new DateBusyService());
		singletons.add(new DiaSemanaService());
		singletons.add(new EnderecoService());
		singletons.add(new EstabelecimentoService());
		singletons.add(new EstadoService());
		singletons.add(new FuncionarioService());
		singletons.add(new GerencEtapaConfigEstabelecimentoService());
		singletons.add(new LoginService());
		singletons.add(new PaisService());
		singletons.add(new ServicosService());
		singletons.add(new ServicosFuncionarioService());
		singletons.add(new UsuarioService());	
		
	}
	
	public Set<Class<?>> getClasses(){
		HashSet<Class<?>> set = new HashSet<Class<?>>();
		return set;
	}
	
	public Set<Object> getSingletons(){
		return singletons;
	}
}
